<!DOCTYPE html PUBLIC
	"-//W3C//DTD XHTML 1.1 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<%@taglib prefix="s" uri="/struts-tags" %>

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<title>Handicapper - Database Controls</title>
	<s:head />
</head>
<body>
    <h3>Manage Jockey Rating Thresholds</h3>
    <a href="${pageContext.request.contextPath}/admin/ratingThresholds.action">Manage thresholds</a>
    <hr/>
    <h3>Add Jockeys to the Jockey Rating Database</h3>
    <s:form action="addJockeys" method="POST" enctype="multipart/form-data">
        <label>Select a past performances file:</label>
        <s:file name="fileUpload" />
        <br />
        <s:submit />
	</s:form>
    <hr/>
    <h3>View all jockey ratings</h3>
    <s:form action="viewDBContents" method="POST" enctype="multipart/form-data">
        <s:submit />
    </s:form>
    <hr/>
    <h3>Tear Down and Rebuild the Jockey Rating Database</h3>
    <s:form action="rebuildDatabase" method="POST" enctype="multipart/form-data">
        <label>Select a past performances file:</label>
        <s:file name="fileUpload" />
        <br />
        <s:submit />
	</s:form>
</body>
</html>
	